﻿@model ShopRecommendModel
@using Nop.Web;
@using Nop.Web.Extensions;
@using Nop.Web.Models.Customer;
@using Nop.Web.Models.Common;

@{
    Layout = "~/Themes/CNet/Shared/_HomePage_SubTwo.cshtml";
    //title
    Html.AddTitleParts("");
}

@using Nop.Web.Framework;
@section userInfo
{
    <div class="user_name_left">
<p><b>@Model.CustomerModel.Username</b><br />
手机号码：@Model.CustomerModel.Phone<br />
地址：@Model.CustomerModel.StreetAddress</p>
</div>
@*<div class="user_name_right">设置</div>*@>
}
@section left
{
@Html.Partial("MyMenuNavigation", Model.NavigationModel, new ViewDataDictionary())
}

 <div class="user_right_pr" >
<div class="user_right_pr_sp">
@foreach (var m in Model.ShopRecommend)
{
<ul class="user_pr_list">
<li><img src="@m.PictureId" /></li> 
<li><b>店铺：@m.Name</b></li>
<li>地址：@m.Address</li>
<li><span class="user_btn_cont">取消</span></li>
</ul>
}
</div>
<div class="clearfix">
@{
var pager = @Html.Pager(new PagerModel()
{
PageSize = Model.PageSize,
TotalRecords = Model.TotalRecords,
PageIndex = Model.PageIndex,
ShowTotalSummary = false,
RouteActionName = "ShopRecommend",
UseRouteLinks = true,
RouteValues = new RecommendRouteValues { rt=2}
});
}
@pager
</div>
</div>